package cn.itcast.service.system;

import cn.itcast.domain.system.FeedBack;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FeedService {


    void add(FeedBack feedBack);

    //List<FeedBack> findAllByCompanyId(String companyId,int page, int size);
    PageInfo findAllByCompanyId(String email,String companyId, int page, int size);

    //List<FeedBack> findByDegree(int i,int page, int size);
    PageInfo findByDegree(int i, int page, int size);

    FeedBack findById(String id);

    void update(FeedBack feedBack);


    List<FeedBack> findTotalMessageByCompanyId(String companyId,String email);

    List<FeedBack> findTotalMessageByDegree(int i);

    PageInfo findMySessage(String email,int page, int size);
}
